.TH mirrord 1 "September 2014" "0.6.6"

.SH NAME
mirrord - a tool for open source mirror site to sync files

.SH SYNOPSIS
.B mirrord [options]

.SH DESCRIPTION
.br
.P
Without any option, mirrord will become a daemon, and reads ~/.config/mirror/mirror.ini as config file to sync files from upstreams.
.br

.SH OPTIONS
.TP
.I -D --do-not-daemonize
Tell mirrord to not to fork as a daemon.
.TP
.I --version
Show program's version number and exit.
.TP
.I -h, --help
Show this help message and exit.
.TP
.I -c CONFIG, --config=CONFIG
Sets the configuration path.
.TP
.I -P --pidfile=PIDFILE
Use PIDFILe to store mirrord's process id.
.TP
.I -U --user=USER
User to switch to, this need to be root when starting.
.TP
.I -G --group=GROUP
Group to switch to, this need to be root when starting.
.TP
.I -l LOGFILE, --logfile=LOGFILE
Output to designated logfile instead of stdout
.TP
.I -L LOGLEVEL, --loglevel=LOGLEVEL
Set the log level (default is error): none, info, warning, error, critical, debug
.TP
.I -q --quiet
Sets the log level to 'none', this is the same as `\-L none`
.TP
.I -t --tasks
If mirrord is running, this will list current tasks in the queue.


.SH SEE ALSO
.B Homepage:
http://mirror.bjtu.edu.cn/

.SH AUTHOR
This manual page was written by Shang Yuanchun <idealities@gmail.com>.
.br
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation
.br
